import google_meter
import credentials
token = credentials.powermeter_token('cgswh')
service = google_meter.Service(token, log=google_meter.Log(level=4))
path = '/user/02917191778046319006/02917191778046319006/variable'
path = '/user/08566836844932993579/08566836844932993579/variable'
variables = service.GetEntities(path)
#print variables.ToXml()
for variable in variables:
    print variable.ToXml()
